import useFormInput from "../hooks/useFormInput";
function UserForm() {
    const { value, handleChange } = useFormInput();
    return <input type="text" value={value} onChange={handleChange} />
}
function EmailForm() {
    const { value, handleChange } = useFormInput();
    return <input type="email" value={value} onChange={handleChange} />
}